Bugfix to YAML parsing.