[FIX]Fixed traceback account_id failed against a constraint.