I’m quite confused now as I am just not getting this behavior.
Well, I did say I was observing the same issue when other scripts would have an issue on the dashboard. Once I fixed all my scripts so none of them were having issues then it worked fine for dashboard refreshes too.
Anyway, I did make a thread for the script now, so we can use that for troubleshooting.