Elastic Search reindexes information about files incorrectly
Currently in the elastic search class, line 1488, it creates a $whatToReturn array, with the first key of each item as the templateSnippetId and the second key as the snippetComponentId.
However if multiple file return fields are mapped, they will be overwritten because they all have the same snippetComponentId (Is this the only case of that?).
This means only the last component option being returned/mapped will be within $whatToReturn.
This needs to somehow indentified with it's componentOption and then ensure it works within prepareResults in the searchIndex class.