[WIP] PIM-3131: Sequential product edition

| Q                    | A
| -------------------- | ---
| Bug fix?             |
| New feature?         |
| BC breaks?           |
| CI currently passes? |
| Tests pass?          |
| Scenarios pass?      |
| Checkstyle issues?*  |
| PMD issues?**        |
| Changelog updated?   |
| Fixed tickets        |
| Doc PR               |
Put the condition on the next in the while part, it makes more sense and avoid a return in the middle of the while.