[Fix #926] BlockNesting was not auto-generating correctly.
Merge pull request #933 from tmorris-fiksu/block_nesting_squash

[Fix #926] BlockNesting was not auto-generating correctly.