Fix problem introduced in r382. Pointed out by jlc, thanks!