Corrected index mapping error. Multiple index fields are now written to the index file