FIX: CoinGate may be undefinied

In addition to simplifying the logic a bit, the b.IsGate may have a null
or empty value if the block is a coin door. This way, the value is
either true or false, nothing in between.