Add find_query_new helper for query initialization.