Order of operations on rest delete of territories was maybe wrong?