CompositeFilter had some problems. Those problems where replicated in 4 ...

...new test cases for FilterTest class. A patch has been offered to correct the INTERSECTION and UNION cases (not the SUBSTRACTION case, which might still be faulty).