CritBit: Fixed broken svalue type checks.

Fixes most of the CritBit issues in the testsuite.
CritBit: Fixed remaining broken type check.

Fixes the remaining broken cases in the testsuite.