improved highlight class traversal on result items