Make sure min_uid and max_uid are integers