Added back missing query clause.