BUG: fix default handling of query_entry_point configuration.