Fixed small bug with trashContainer

li items could for some reason get stuck, now the trash can is emptied.