Fix searching for contacts