Fix of Issue 8365 bulk update child doc npe error when parent is not specified