Shield against null enum value