The root cause of this bug is actually this: the uniqueness of the name is validated *prior* to the string replacement that takes characters like spaces and replaces them with hyphens. The fix is to perform that replacement prior to the uniqueness validation. Mainn