suid can be negative (valid values between -32768 and 2147483647)
your script only checks for suid > 1, should be: between -32768 and -3 or > 1
With 15.7 and higher where you can specify suid manually with create login, it's getting more likely to have negative suid for logins.