TRQ-2879: pbs_server crash in stat_update.