Cleanup; fix confidence value comparison; fix.