fix -simplify the crmacct advance search code