This change reapplies portion of reverted #1409, specifically the change to check for whether any hex is populated versus counting all the gateways in a hex. This change also includes a fix to that functionality to handle the throw behavior in a cache context in cache_fold.
This change reapplies portion of reverted #1409, specifically the change to check for whether any hex is populated versus counting all the gateways in a hex. This change also includes a fix to that functionality to handle the throw behavior in a cache context in cache_fold.