Fix sequence handling when a list of steps is given

See: 9540e8dbe3276dc5c40e92b18b04bc06d062b61d