fix table edge case with zero value on top level node