fix bug in weather_level_adj plugin that would cause CPU to max out.