Fixed recalculations for line_items