Issue #1678140 by ultimateboy: Variable 'attachment_links_selection_()[type]' stores numeric field ID instead of field name.