Include global maximum number in warning text