Using isAlreadySelected instead of indexOf and handle the positive case first