In the general information pane on a computer there is a field named MDM Capable Users.
It lists all the MDM capable users ever logged in on that computer even if the computer is reimaged.
Is there a way to flush the contents other than deleting the computer before reimaging?
The only way I have been able to sort this is by removing the framework on the client -
sudo jamf removeFramework
...and then re-enrolling it either by rolling out a 'Quick Add' package or manually enrolling via the website to your server -
Hope this helps a bit.