Fixed recent posts sidebar section to check for title case headings.

I noticed that the post titles were different from the titles in the recent posts section. Fixed this so that post titles are consistent by using the same logic in the recent posts section as the post title.