Minor change to in order traversal of binary tree