Ensure only good integer values are sent to the service