Use WT_MIN not WT_MAX.