Fix some issues with deleting nodes while pbs_server is running.