This is just intended as an extension to the Improved Research Queue mod; I've not taking over maintenance of the full codebase.
It also seems like this issue would be difficult to fix - both ERQ and AR need to change the research list in onResearchFinished. So just from the current architecture of the mods there are inevitably race conditions.
Having Auto Research wait a tick before assigning the new research might or might not solve this issue - if the vanilla queue is disabled, that would overwrite the queue from this mod, but you could trivially check for that case in your code (don't call add_reseach when current_research is set and queue disabled); otherwise, at least some vanilla queue integrations should work properly (wait/freeze should definitely work properly; head/tail/sync/hybrid might or might not work when there are ERQ-queued techs, but shouldn't block a research from being started).
Or, more generally, if you always check that current_research is nil before calling add_research, I don't see any way it would cause issues, as long as it's not called from an event (ie. only 1 tick after onResearchFinished).