Fixed an issue where jobs were not getting grouped appropriately in case two tabs have jobs of same group.