Fix 'use existing reference' list rendering

Got broken by mass $ -> $element conversion in If3d870124ab8d1

Bug: 57209
Change-Id: Iada098d0fa361f4a825a4c87aa8a7493386855e4
(cherry picked from commit c528a0ffea3b3d6c0e3735f21ab897e8adfa0df8)