Fix ido-mode setting