Fix wrong direction for config based trim values