Query command fixed.