metadata editor : Fix bug with collapse events.