Reorder conditions that are written backwards