Fix bug where a sequence was used as first arg of substring-after
when a response has more than one representation/element.