Handle pageID problem when called with empty pageID like for example for
special pages or preview.