Fix #1320 - crash in pf