search_engine_statement_valid? fix