KRACOEUS-8541:only deletes budget periods if they have lineitems from child budgets