Guard maxID decrement

Updates issue #20.