ris parser: fixed handling of empty tags