Fixed active connector checks

Fixed the check for connector, when sending a message and the case that deals with an undefined [_activeConnector].