Fixed bug in class ValueChecker