Fix setting uidvalidity in draft URL data