Running yaml causes "Array was a VariableName, not an argument" error

Summary

When executing this yaml with EDR:

- <SearchTagCSVPath> = 'search-tag.csv'
- <CsvHeader> = ['SearchTerm', 'Tag']
- <SearchTerms> = ReadCsv(Text = ReadFile(Folder='c:/Temp/EDR-tests/', FileName=<SearchTagCSVPath>), ColumnsToMap=<CsvHeader>, Delimiter=',', HasFieldsEnclosedInQuotes=false)
- Do: ForEach
  Array: <SearchTerms>
  VariableName: <Row>
  Action: Print(Value = ElementAtIndex(Array = <Row>, Index = 0))

the following error is returned:

Array was a VariableName, not an argument, Array was a VariableName, not an argument

search-tag.csv

Steps to reproduce

  1. Run EDR.exe -p ./csv-test.yml

Expected Behaviour

No error, the values in the first column of the CSV are printed to the console.