Fix: bug in UniqueIdStorage