Fix parsing bug that caused a crash.