I did create a mid file of the song but this was happening before I did that so I don't think that's the reason.

Like I say it does seem to make the change once it hits the section the solo happens in.