ECMS-5586 check the case original node also in trash

Check if the original node also in trash then the symlink will not be considered as the dead links