https://www.grocerycrud.com/forums/topic/136794-unknown-column-when-using-where-clause-in-set-relation-n-n/ please check this bug