Fix shift-delete behavior