Resource index - fix element annotation highlights etc.