Fixed bug in PFE visitor used by the new popfunc class.