CRM-15698 fix fee level query