Fix set union for Bags and KeyBags