Ok, I added a setting in the new version to use a different lower threshold when a science pack is needed for all the sciences in the queue. That should fix the issue with the set of techs you mentioned, since now red/green/blue science will use the lower threshold so it'll switch based on the higher sciences.
There's some cases where that still doesn't work, like if you put infinite health research (no blue science needed) in the queue, it'll go back to using the higher threshold for blue science. So even if you can't actually do the health research because Gleba science is missing, it still breaks switching between the other ones. Not sure how to fix that.
(Originally I was thinking the mod should do multiple passes, and if no tech has all sciences available, it should lower the threshold until one more science pack crosses it and then do another pass with the lower threshold, and repeat until it can switch to something. I don't think that would fix your issue though.)