Remove unused query.