Fix inflection when baking models.

With bake being in a plugin adding tests is tricky, so I got lazy.

Refs #5428