fix for pending order not being replaced by normal order and two orders are shown together for quite a while