Fix active orders squash script