Fixes an issue in the trash view for elements with a renamed/deleted cell.