Cicrcle and border selection doesn't add entry to EditSelection. Use cycle through vertices rather than EditSelection stack to find two selected vertices. No slowdown for case two vertices are selected (use this cycle to clear temporary flag too), minor slowdown for unsupported selections.