Fixed issue in QueryOrders.enforceAllowedProperties() throwing erroneous errors.