Removing useless orders