Ensure that the type of a guid does not change.