Coop- Warpgate research bug

Hi i realized a bug with the warpgate research in coop it happens with vorazun and karax (assum only artanis and zeratul dont have this bug as they have warpgate already or no warpgate at all)

the bug is following:
when the research of warpgate finishes and u have still units in the Que of the gateway the units will not finish and u will not get the money back and the supply count still goes up.

only when u manually return the warpgates back to gateways the units will finish !