Fixed pfs::min/max