Corrected issue whereby reprocessing would cause a duplicate index template output