Posts are not properly categorized

All posts, including Scheduled Posts and Published Posts are put into Draft Posts category
due to type comparison mismatch, because what `@model.get("active")` returns, is an integer.
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.
1 to "1"

Missed to change one 1 to "1"
Merge pull request #17 from nevrending/patch-1

Posts are not properly categorized