Without this change UID are compared as strings instead of integers.