LPS-42022 fix exception when deleting journal folders from trash (includes tests :)