Added code to remove false positives/negatives