Fixed enum handling in PatternFidelityType