Fixed duplicate post issue.

Fixed duplicate posts in category sections issue.