Avoid error when sresid = TRUE.