Fix YAML indexing, fixes #716

- trying to ++, or --, or whatever on an index item (EG my.key[1]) will
fail to increase it, as YAML tried to read the entire my.key as a basis
to increase, rather than the specific index.