Fix issue with nesting blocks not executing correctly

Originally you could define blocks to an large degree of nesting within
templates, however I realized that this behavior as the default would
not be correct. I'll add the behavior back as a define_block function,
so that's why I'm not removing the code from pouchWriter.