Wrapping theID in have_posts if.