Fix a long standing bug that if we delete multiple entries of the same person without closing the history window, unintended entry is deleted.
How to reproduce:
Delete the earliest entry of player A.
Delete the latest entry of player A will cause an nil error.
Delete other entries of player A does not cause error and looks like the entry is deleted. However, close RC history window and reopen it shows wrong entry is deleted.
The reason of this bug is data[realrow].num is not updated when an entry is deleted.
data[realrow].num
is not updated when an entry is deleted.