Fix querying for new attribute names in shapefiles