Fix union header

This is a fix which was previously included in the PR #235.