Setting a uid index on all versions.