Prevent exporting empty nodes