Powershell connector remove event not working

Hello,

I'm working on powershell connector for CRM Dynamics 365 and I stumbled across specific problem.

I want to remove acount roles membership (UNSAccountB IN UNSGroupB) and wrote PS method for it. I created workflow in synchronization editor and process in designer that triggers on event "REMOVE".

I tested the method via Powershell ISE and it works, also if I browse memberships via synchronization Editor and try to delete it works fine.

When I remove membership in Manager and event "REMOVE" triggers, then workflow launches as it should, however the record doesn't get deleted. I'm also using debbuger in PS method and noticed my delete method doesn't get called when executed via Manager event.

I tryed creating two different workflows (one for adding memberships and one for deleting) and It doesn't work. It's almost as if AdHocProjection is not recognising the record is marked as Deleted.

I can't figure out what the problem is, any ideas?