Small fix for MapStepTimeSeq max function

Does not have unit tests, need to add some