Fix invalid UUID being generated in #validates_uniqueness_of