Coerce UID to string to avoid SQL failure.