Fix to isValidLevel check used for invariants
Pre-release
Pre-release
Buggy implementation of isValidLevel(level)
fixed that is used in several invariant check
Buggy implementation of isValidLevel(level)
fixed that is used in several invariant check