Fix of by one error in delete world code