JBRULES-3656: Non removed associations issue

Non removed associations for NotNode caused the issue at JBRULES-3656.
This update would solve the issue but I would like someone who knows a
bit more to review it before commiting it to master.