I mean purchased the same License again before the first one Expired.
So user bought Product A then before that License expired he bought Product A again.
when first License expired ( after he already bought Product A again) it removed the Temporary secondary usergroup even though second license was valid and bought at that point so technically it should have kept the usergroup instead of removing it.
The product type is Digital. Under General options of the Product I chose Temporary additional user groups.
"
Puts the user in the selected groups after purchasing the product, but removes the selected groups when the license expires.
"