Fix bug that truncated stability polynomials incorrectly.