Conditional formats: fix case sensitivity.

Also, cleanup.