@Jim.Morrison please try updating again, I just pushed a fix which adds a safeguard for this situation:
https://github.com/discourse/discourse-oauth2-basic/commit/550d0bdee14d3189cf51f84789dfd283200b4e04
I’m not sure how this happened in the first place though. Do you have any custom plugins or console scripts which you used to edit the account associations?