Fix bug where wrong config variable was fetched