Unknown column 'c.container' in 'where clause'