fixed java.lang.IndexOutOfBoundsException on empty candidate servers