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.