Port tuple selection code to ObjectSelector