Fix issue when there are multiple blocks with the same name in the HTML (copies)