Fixed a \max to a \min.