Fixes the habitats distribution and range due to changes in layer
numbers Refs #18801