adjusted an issue with post count where first post would appear twice