We should also handle the case where an existing resource is being edited, and someone might change the slug to one that's already in use.