Make sure OffsetLimit() returns integers.