Fixed theme search (bug 871026)