Sanity check

Only process if we have a ShareAccess call. Otherwise int() won't convert NoneType.