lshift/diffa — pull request #54 by paulj (2012-03-08 09:48:53+00:00)
Title: Correct issue where entity-removal results in matched correlation

When a correlation that previous had upstream and downstream elements has one of the elements removed, the correlation should be marked as unmatched. We're currently not doing this, due to some faulty logic (that produces the exact wrong results in every case). This patch inverts the condition, and corrects the test cases that were re-inforcing the faulty logic.