Getting the following (Error: Comparison method violates its general contract!) when compiling with FlashDevelop

When using the swc for v2.1.0 I can only compile my projects once with FlashDevelop. Any subsequent times I try to compile I get the error "Error: Comparison method violates its general contract!" which is only alleviated by cleaning the project, which unfortunately is time consuming.

If I switch back to the swc for 2.0.0 I do not get the error.

Here is a reference thread at the FlashDevelop forums where other people talk about having this error. It has something to do with how the swc is compiled perhaps?