Bug fixed in referal system: