Remove overlapping heads instead of equal heads