Minor fixes to DataArray::dimensions to work with new getEntities