Fix check for upper-casing prepositions

Flip the boolean check for whether to upper-case prepositions and other
excluded words.