Unknown column 's.is_public' in 'where clause'