Actually select some features using the QGIS API