LPS-42325 Prevent null pointer exception when the customAttribute doesn't exist
LPS-44116 Displayed page version doesn't change when not the latest version is selected