fix for manyToMany not returning results