Dedupe complex find

Fix https://github.com/appium/ruby_lib/issues/204