Fixed boundary search for small exception case and added undo/redo functionality to new project model