correct issetugid sense as spotted by Stijn van Drongelen.
Substantially expand the conditional to reduce potential for error.