Fix dispose() to correctly iterator over childRefs object.
Merge pull request #8 from pkaminski/patch-1

Fix dispose() to correctly iterator over childRefs object.