fixed another bug where referral email wasnt being checked for blankness when referrals were getting made