Bugfix/issue 624 json compare unsigned

fixed boundary condition, changed comparison to >= instead of > and removed spurious error check which was causing a compiler warning or error.