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

Fixes ```rubocop --auto-gen-config``` to work correctly with highly nested code.