In many (most) styles BIAB interprets a diminished chord as a diminished 7th. Not sure why. That my be the cause of your dissonance.