Remove empty nodes. Do not break structure.