Fix bug with cut items.