LPS-45929 Issue fixed: the vocabulary isn't deleted when it has categories