Makes setters in IdCounter not accept negative arguments.