fix the issue with node/link highlighting under search condition