Fix node edition when dealing with metadata