Resolve error when duplicate SEO URLs are saved in the database

Duplicate SEO URL bug seems to be a common bug with upgraded shops