Fixed a bug with 'tree | less' output.