In Connector.py: Avoid retapping if element of the specified mode is already present