Implemented additional plan repairing test, fixed plan repairing.
All tests succeed
Merge branch 'Release/MileStone3/debug' of https://github.com/srnjcbsn/Beduin into Release/MileStone3/feature/plan_repairing