Fixed #304, Avoided multiple endpoint selection when deploying component