fix access to mapnik::query::property_names in python - closes #1762