ECMS-5586 fix problem with moving node to trash