Fixed lists behavior when removing an item.