Fixing logic errors in classifier.