Handled edge case for maximum number adaptation.