Avoid crash invoking d-EditDirective on empty measure