I-94 Expired more than 180 days

Have a valid H1-B VISA and I-797 approved till 07/31/2021 in July 2018.

I entered United States on 06/09/2019 and based on my Visa and I-797, my passport was stamped by Custom Officer with expiry date as 07/31/2021 (Even though my passport was expiring 04/25/2020).
I renewed my passport in March 2020.

But the online I-94 date reflects as 07/31/2020, so I have already crossed 180 days.

Any advice/suggestion/related use case details will be really helpful.