removing irrelevant orders