So everytime I come back from a Solo dungeon run and come to town to check up on acquired gear the locals and guards attack me as you can see below.

Now I don't want the heavenly souled Loghain to break his vows and start massacring the town of beregost (lol jk he would never do that).
Is there a fix coming for this? I know its something to do with spellcasting if that helps. Particularly, I only ever cast divine spells.