CON-1809 | Fix overlapping of anchored element

consider different name for this function - it's rather data sanitisation than validation