updating search-result.jade to prevent errors when rendering