fix flaky test
correctly extract nested columns in ESGetTask

Fixes #1333