Fixed index prefix being added more than once.