DB error on search for account_type_code or account_code
Merge pull request #4474 from jitendrapurohit/CRM-15538

DB error fix on search for account_type_code or account_code