[StaticPage]: fixed bug related to tags when deleting page