[Issue 7252] Referral Problem with back-sql