Fixed logic errors in event detail SQL for the default fault event email template.
Fixed logic errors in event detail SQL for the default fault event email template.

GridProtectionAlliance/openXDA,GridProtectionAlliance/openXDA,GridProtectionAlliance/openXDA,GridProtectionAlliance/openXDA