463b5cf21b
Motivation: We introduced a regression in 1abdbe6f6798732447df6dd3af15f6cd871d6279 which let the iteration start from the wrong index. Modifications: Fix start index and add tests. Result: Fix regression.