Fix typo in record unification: group -> tag

I had a typo which lead to copying the tags into the groups and the tags
not being unified.

Signed-off-by: Konrad Reiche <konrad.reiche@gmail.com>