Fix a bug in postfilter calculation.