Ensure the random ID is non-negative