fixes crash when minlen too big for node graph