Automating QC through Logic Pro (QC going to both random presets/ and setlists)

Hello, I’m currently automating my QC through Logic pro. Using Program Changes to change presets and CC events to change setlists. That aspect of it works fantastically however around measure 2000 in my logic pro session the QC will either go to preset 17 or sometimes select a random setlist. I only have one midi track in the logic sesssion and can’t seem to find a reason or any midi event in the session to cause this. Wondering if anyone has had a similar experience, thanks.