TRQ-2967: fix for a pbs_server crash.