Is this the desired behavior? I wouldn't bother to make a distinction between an empty or non empty set of measures.