Check minLevels and maxLevels