Fix empty braces bug

Configurable and including both blocks and hashes.