Fix bug for delete/backward in the end, out of range again