getColumnFromMetadata() now returns first matching column if there are
multiple.