No longer needed and the unit tests checking expiry < duration in other modules and on the contracts should cover this case.
The main issue was caused by an underflow in the partial payouts calculation. The underflow has been fixed. The rest is creation of the test and supporting changes for the test.