Fix failing tests in ManyToMany rel manager