Fixed the query.