Added initial case inversion when word not found.