I worked around this problem by changing the order in which the blocks are defined. The error message will give you an indication of the dependencies. If I understand your example correctly, it looks like you can define the zones{} block before the booleans{} block and the error will go away.