Improved search: check for class titles AFTER everything else.

So hopefully we won't have as many weird search results coming up.