Create valid duration object when null is passed to moment.duration()