Exclude tasks that are done

You can find the answer in this post. Should really read the rest of that thread.