Make orders filter work