Fix bug #17329 in REREAD parsing, reported by John Darrington.