Fix condition in RPNG.