Check for page id before trying to delete page on uninstall.