Ensure generated tokens are integers