Fix infinite loo toArray() bug
Merge pull request #170 from neoxia/master-bug-fix

Fix toArray() infinite loop bug in embeds many relation