Fixing struct merging when creating average row in tables.