fixing issues with the toTime in the limited iterator