Fixed numbering bug for deletions