Fixed bugs in Column::filterQuery fuction

Without "`" this function was throwing SQLState error