Fix #13349. No need to sort simple .find() cases.
Revert change to visible/hidden selectors until 1.10 and 2.1. Reopens #13132, #10406.
Minor updates. All parameters of an internal function are for internal use only.
Again, magic fixing for previous commit.