Fixed regression in tree command