The assertion does not hold on a provided reproducer. Reverting until after fixing the problem. This reverts commit f30a7dff.