Fix readViewedPosts