Fix NPE issue with claiming victory over departed player
Fix invite-related NPE