Fix labels target ids in edit interface.