Make sure references are wrapped in <ref-list> tag