add regression test for about filtering on an embedded hasMany