Fixed connection type checking to handle subcomponent as an endpoint for
access connections.