You need first an assertion that the order type exists before purging it otherwise would be invalid if none matched id 3