Fixed context showing S, H or None in the output instead of a hyphen.