had the logic backwards for saving post on view count increment