Description of problem:
When more queries are defined with accumulate in drl file and some fact is deleted before start of one query. Query returns all fact including the deleted fact.
Version-Release number of selected component (if applicable):
Pull request #212 submited in Drools.
Steps to Reproduce:
1. Write a simple test with one KieSession. Insert into kiesession two fact.
2. Make a drl file with two queries. Both queries contain accumulate. Queries should return names of facts.
3. Delete one fact from kiesession. Run query.
Two names are returned.
Only one name should be returned.
I merged the PR. The provided test now succeeds, so I am assuming this issue has been already fixed.
Verified on BRMS 6.0.0.ER2.