show a bad way of using the where clause on a hasMany