Ensure cursor values are fairly represented as ints