Fixed an error when parsing a data object without a many_many relationship.