Fix invoice line deletion