Fix #1349 in pf