Fix for bug #1497.
Merge pull request #1509 from Steltek/master

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