Fix problem with nesting backwards
Merge pull request #2 from pfultz2/hotfix-nest

Fix problem with nesting backwards