fix cust_svc smart search, from #940
make apply_usage work right with null classnum, from #5738