sc class library: ClassBrowser: fix search with empty query string

When query string was empty and a method search was performed, ClassBrowser
would wrongly use all classes instead of all methods as results.