Fixed the conflict port validation.