Bug Fixes

Fixed bug in exit state insertion from ComplexPlanner.BuildDeepT.