Cleaned up check for invalid biomes