Unknown column 'cheques' in 'where clause'