Removing start and end nodes from returned plan.
Cleaning.