Capitalize MAX in the error message in the second example.
This better follows the style guide (all procedure names are capitalized)
Authored by: david_costanzo 2022-12-28
Parent: [r5921]
Child: [r5923]