Cleanup the affwp_insert_pending_referral filter a little. #287