Fix _elementOrElementsByType matching

I messed up the matching logic. This PR fixes it. In [ruby_lib](https://github.com/appium/ruby_lib/commit/98a561beae09017eaa8be4b1d7cdaf5e3d6e1575?diff=unified) I want to request a match on name, label, or value instead of `&&`.