Fixing bug in Mvc\Query