Change treatment of joint states in chronograms.

Joint states are added only if a single state follows. This ensures
no joint states are found at the end of the file.