Fix regression in search on Windows 8 build