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