Update the post iterator helpers to use the query object under the hood.