Technically this is a feature (the selected technology is when ALL qualities would be unlocked) but since it was unintentional, I will still fix it.
On the code side of things, I just loop through every technology, and if there's an effect for unlocking a quality it removes it from the technology it found the effect on and puts it in the selected technology. Now, if any specific qualities are found, I have to not move them, or move them somewhere else.