handling nil search highlights