Fixed label overlap checker to separate out labels that had the same ID, and to merge in imports closure before doing the label overlap check.