modified equipment query to bring back results if certain form fields do not have input