Check for last page of posts