Correct a sequence bug: minvalue has to be set to a value lower or equal to the start value