Bug fix: lazy column map determination

Backported from molgenis-core repository