Hotfix - Added check if page exists before chnanging.