So I've been squishing bugs in my SDR mod and I've rediscovered an Oblivion bug that I'd forgotten about. When an follower package is removed and an actor stops following, it doesn't immediate update the follower list. As far as the game is concerned, they are still following you. It only seems to refresh itself after changing to another cell by walking through a door.
I have created my own version of GetFollowers for my SDR plugin, which basically reuses the code for getting followers.
Anyone have any ideas about how to make sure the list is accurate at the time the function is called?