Fix index hiding posts. Fix type error.