Fixed a regression core dump.