Add status filter to queryPosts()