Fixing the crash from bad server data.