Candidate fix for #168 by ensuring refList path segments are always strings.