#1085 Fixed deleting of a page which is assigned to the sitemap node