Make inverted variable blocks actually work.

Part of #49.