Fixed bug in server delete where cabient was set to null