Changes _query to query.