HR: Processing salaries, submitting and cancel to Amend

Hi all,
If user process salaries and submits but after changes are made to few slips. He decides to cancel a few ones and click Amend button creating versions of salary slip -X and submitting all.

Eg. Emp/0001/00001 after cancel and amend becomes Emp/0001/00001-1

Now if course this way will not create the journal entry but the user did not see or that not it care… But when processing next month the system will show message “Did not save” when submitting new Processing… The reason is because the system is trying to create Emp/0001/00001 install of Emp/0001/00002 salary slip.

To sum up I think the system should create 00002 by searching the cancelled slips.