Fix EZP-21807: link is duplicated on table row insertion
(cherry picked from commit f0fbf7dd1730ebe79b4683bc865f297ee727f71b)