Server returns an empty array not a string when there's no more posts