Fix #3441: detect errors in partial sequences