Added server-side support for deleting territories