Patch for sieve envelope tests bug (supplied by Bob Johannessen,