Correct bug (abort) due to a noexcept contract violation.