Fix completion on prefixed strings.