Maintaining Focus: Overcoming Attention Deficit Disorder in Contingent Planning