fix. don't check uidvalidity on restores