Fixed logic in DataChecker