Rearrange exclude statements.