This looks more like a problem with the new need metadata accounting: The numbers in the remote devices section are based on that and the actual list is obtained directly from db. In your case they apparently don’t match. That change was introduced in v1.6.0-rc.1 and I don’t have such problems. And unless you find a way to reproduce it I don’t see how to debug this. The relevant debug facility for this is db.
If you run with STRECHECKDBEVERY=1s, does the problem go away?