Fix duration setter + fix comparaisons by event name