Fixed the config object in a couple more places - only the search left to fix
Fixed the config object in the search