Why is a Quote line logic called twice when I add a new line?