slicelistmodel: Fix two wrong computations
Both of those are thinkos during math. Found by Mohammed Sadiq.
Testcases triggering both have been added.
Both of those are thinkos during math. Found by Mohammed Sadiq.
Testcases triggering both have been added.