Can't perform query on database Error: Unknown column 'M5' in 'where clause'