optimize freeside-cdrd pending query, RT#29752
spelling