LPS-34043 Fix maxDisplayItems behavior