fixed incomplete results on many-many after an unset of the relation. closes #304