Fixed search result links(which were broken after refactoring the code for pluggable views)