Fixed wrong recursive function called in buildPostOrder