Storage statistics go missing

Please describe what you are doing to trigger the bug:
I running a schedule including check. After completion click on ‘Storage’. Stats are ‘0’. This is inconsistent however and does not happen every time, or in a consistent manner.
Please note that check completes successfully.

Please describe what you expect to happen (but doesn’t):
I expect the statistics to be displayed correctly.

Please describe what actually happens (the wrong behaviour):
At the moment, statistics are 0 (see screenshots)


check completed successfully.

issue is somewhat similar to Dashboard, Storage status incorrect after check failed "Missing Chunks", but in my case the check does not report missing chunks.

Statistics are stored in this file: ~/.duplicacy-web/stats/storages/<storage_name>.stats. Check the latest entry in this file to see if pruned-chunks and pruned-revisions are non-zero while all others are zero. If so, it means a prune job ran first and updated this file. If you wait until the check job finishes then all statistics should be updated correctly.

On the 23/4 when it showed zeros, this data is in the file:

"2022-03-23": {
        "total-size": 6601364733952,
        "total-chunks": 967004,
        "pruned-chunks": 2617,
        "pruned-revisions": 28,
        "status": "Checked",

Today, it displays fine again, this data was written:

"2022-03-24": {
    "total-size": 6636798214144,
    "total-chunks": 971778,
    "pruned-chunks": 0,
    "pruned-revisions": 0,
    "status": "Checked",

In my current schedule I am running a check first, then all the backups and then a prune. Does the order matter?