Fix on uid parsing for wildcards