Fixed cases of reused lists in duration function definitions