cm,jm,lm column attribute is always an array
whereRelation handles ManyMany relation