Fix EZP-20576 - add use case when there is a custom pagelayout defined in legacy