Corrected wrong config key being used.