Remove unnecessary max check after decreasing a counter.