Deductions & credits

I had a few non cash entries that generated a form 8283.  In addition, I had 2 stock donations.  They were the same security but the donations were made on different days.  The cost basis was the same for both. When I the 1st one it was fine .   One I entered the second one, It took the cost basis and made it the fair value of the donation on the form 8283.  Is this is a bug?