Reduced the main loop in gclient.findParentObject(), renamed to findParentInvid()