Fix bug with split invoice data being uploaded to server