Fix isDefinedAt for PF metrics