Make sure UID is cast as integer