Don't try to populate biomes with invalid ids

Addresses #157/.