Uiautomator selector update, fixes #2264

If I have 3 selectors and I'm looking for one element, then this code is ignoring all selectors except the first one. I think that's a bug.