Refactoring DefaultLimitElement - extract getItemsPerPage().
Fix access to undefined property.
Cherry pick PR MetaModels/DC_General/pull/139