When executing the node selection operator through Python, or in fact any similar select operator with drag-all-selected support, the operator was enabling modal execution, which should not be done in this case. Reason was simply a wrong default for an internal property.