Fix bug with nested resources
Merge pull request #2 from fukayatsu/fix-bug-with-nested-resources

Fix bug with nested resources