Fixed bug in referencing cache when selecting multiple annotations