Ensure prev/next properties behave with 0 results
Hide prev/next links if they're not present

Rather than only making a link if they're present, simply hide them
entirely if they aren't.
Merge pull request #274 from necaris/no-prev-next-with-no-results

Don't show prev / next elements when they're not available