Bug fixes in referral listing