Fix search sidebar bugs

Prevents the "Show results" text from appearing if there's no link to display
Closes #150 

Prints the correct labels in the search sidebar stats section
Closes #152