@o4kapuk So, by 'active' I mean not active by the market my orders page. This has been mainly from remaining amount being 0.
If I extend the order to cause it to become active again the function works as expected.
An example of this is the order
5c368c3e2eab140cce899111 for room