Small fix for degenerated dataset creation

The alternative encoding for Z and SZ was the same due to a typo.