Fixes duration spreading calculation bug