Cli-custom-error does not work with cli-drop-node-name

If cli-custom-error is used to print the customized error message within a leaf it work perfectly.

leaf reuse-max-time {
        tailf:info "The time corresponding to the last reuse list";
        type uint32 ;
               tailf:cli-custom-error "out of range";

When cli-custom-error is used along with cli-drop-node-name the custom message is not displayed.

  leaf address-mask {
           type inet:ipv6-prefix;
    tailf:cli-custom-error "ipv6 address is required";

If the cli-drop-node-name is removed the customized error is printed properly.

Is there any method to use cli-custom-error along with cli-drop-node-name.