Fixed bugs in Column::filterQuery fuction 

Without "`" this function was throwing SQLState error when there was relation named like sql statement