Fix #150. Avoid possible UUID prefix duplication. Thanks @gavllew