Clean up messages for tasks to be evaluated, since they will either reproduce their message or not produce it any more.