Slug duplicate protection in controller