Use _MAX1 not _MAX when maximum is not inclusive