Resolve rare duplicate URL Alias Bug

On a few open cart websites we have worked on, sometimes there is a duplicate url_alias entry for a category.
This change resolves the issue when editing the category again.
Merge pull request #673 from JeramyMywork/patch-1

Resolve rare duplicate URL Alias Bug