diff --git a/src/stream_gribapi.c b/src/stream_gribapi.c
index 1a48553acc1c91b4dd945687fe1a8b58025c1c36..79ed40b25cef35e94bd835372c9fbbaa75249c87 100644
--- a/src/stream_gribapi.c
+++ b/src/stream_gribapi.c
@@ -2258,7 +2258,7 @@ static
 void gribapiDefLevelType(grib_handle *gh, int gcinit, const char *keyname, long leveltype)
 {
   bool lset = false;
-  if ( (leveltype == 99 || leveltype == 100) && gribEditionNumber(gh) == 1 )
+  if ( (leveltype == GRIB1_LTYPE_ISOBARIC_PA || leveltype == 99 || leveltype == 100) && gribEditionNumber(gh) == 1 )
     {
       if ( gribGetLong(gh, "indicatorOfTypeOfLevel") != leveltype ) lset = true;
     }