Fix duration parse.