Issue with dynamic index template with a dynamic mapping template