[BUGFIX] Remove A-tags completely to keep selection order

Change-Id: I05e0cfa5d5ebba2651217588ca7d041c716c82a5
Resolves: #58838
Fix for problems with allowed items in page and grid columns

Change-Id: Ib6f9a1ee2782b999173bb90b9d00c3fdfa685f21