Fix error when no children passed
Fix error when no children passed

petrdsvoboda/prototype-orders,petrdsvoboda/prototype-orders,Portgass/prototype-orders,petrdsvoboda/prototype-orders,Portgass/prototype-orders