Properly handle non-UID 0 check