Package badge in Repositories tab counts deleted packages

The Repositories tab on an organization shows badges under repositories which show the number of packages in the repository. This count is incorrect:

Opening the repository shows the correct count of 2. (Can’t upload image due to forum limit).

I believe the issue is related to deleted packages. I have deleted 4 packages in the repository previously.