Holding for replaced order problem

I have BG stock with position 15.
I placed an order to sell 15.
Then I replaced the order with another order to sell quantity 5.
Now when I place a new order to sell quantity 10, it gives me error:
{“available”:“0”,“code”:40310000,“existing_qty”:“15”,“held_for_orders”:“15”,“message”:“insufficient qty available for order (requested: 10, available: 0)”,“related_orders”:[“cfc11af9-f0a8-4427-88a0-4db86f4eeec1”],“symbol”:“BG”}

Is it reasonable?