ECMS-6344: Unexpected error when deleting files

Fix description:
- Revert ECMS-6086
- Get node by using system session
- Correct the way to get correct node from trash path