Document hovering now works for both types of search