Fix minor issue in feature.duration computation (related to background.duration).