Cleanup: Remove code that looks useless.
By inspection, if max is less then zero, then set to zero, it will immediately be decremented back to a negative value.
Authored by: david_costanzo 2023-12-01
Parent: [r5992]
Child: [r5994]