Multiple assets on same purchase invoice pulling wrong asset value (BUG?)

Hi All,

We use ERPNext 14.22.2
I have a purchase invoice for the same asset type where I enter the items in 2 lines
Line 1 - qty=2 for $5000
Line 2 - qty=1 for $7000
Same asset type is purchased with different prices on the same purchase invoice (total value $17000)
When the items are received and assets are created automatically
3 separate assets are created BUT all 3 show the value of $7000 (total value of $21000)

Why auto creating assets from purchase invoice did not use the cost of each line item and instead used the cost of last item on the invoice?

Is this a bug?
Can I fix it?

Thank you for your help in advance