Improve detection of input fields

 * ignore invisible fields
 * search still ordered by relevance