Fixed Blog Posts Categorization on List View

The previous code on fixed the issue on Chrome, but made the Firefox and Safari one broke.
This update fixed the issue on all three browsers.