Adapt scan algorithm to look under canopy
Two small fixes for the scanner.

- I always confuse min/max usage
- don't count blocks not in the proper biome