Wrong variable name in get_iterated_posts