Soo, I'm having an issue with Lydia as a follower. I can't dismiss her. She sits around in Breezehome and everytime I talk to her she acts as if she's my follower and the "I think it's time for us to part ways" option doesn't work, it just dismisses my actual companion (Sven in this case). I was using the mod Amazing Follower Tweaks when I recruited her, but none of those dismissal options worked and it's now uninstalled.
I've tried various console commands such as "setfollower count to 0" and "setessential" but there was no difference. I can't even kill her, not with violence or the console command.
I suspect it has something to do with the mod I previously mentioned, because the problem started after I installed it. But I don't know how to fix it.