search_engine: fix type in config lookup