Automatically deactivate previous order