It seems selling bandits off to the guild is what triggers this bug, if you were still wondering.
I was, thank you. Guess I'll have to avoid doing that then.