(library) Fix bug in checkedUids method