Bug fix for transveral fucntions.
Fixed bug where modifier function wasn't being called on all in-order transverals of tree. Need to fix same bug in post-order.