Results 1 issues of Mario Witte

Prior to this change _prevmaxid_ was always updated after updating _maxid_ and thus both were always identical. This in turn caused the loop to break after the first run (line...