since `min_level` is clamped to 0, `max_level` should be clamped too Pull Request: https://projects.blender.org/blender/blender/pulls/123131
since `min_level` is clamped to 0, `max_level` should be clamped too Pull Request: https://projects.blender.org/blender/blender/pulls/123131