Fix config params retrieval from the config database.
Merge pull request #4092 from HassenRiahi/RetrieveCorreclyConfigParam

Fix config params retrieval from the config database.