Properly chain preprocessing plugins.
Merge pull request #1987 from rwjblue/properly-chain-plugins

Properly chain preprocessing plugins.