Improved the delete / clear trashcan feature. The last version was to sensitive to transaction and status
Added some nullchecks and upgraded the version