[fix] Moar efficient code for duration setter