Fixed a bug that caused mocked managers with ManyToMany relationships to fail creating the RelatedManyManager