Fix a bug in the mood line parser.