Good catch. I use long min/max elsewhere, but slipped up here.