Quick fix for issue #1497 (older/newer links incomplete in search)

Just a quick hack to fix the subject issue.