Add "function" tag to the reference search. Also set the current tab to be first in the list when searching all.