Bugfix in search.