fixed issue filtering out zero values from tree map