Unknown column 'diagnostics' in 'where clause'