Check for required params before searching.