fix for patch3382_bestemailaddress.patch: allow inside nested database transaction