DB Error: Unknown column 'a.submission_id' in 'where clause'