Allow a value of 0 for max attempts. STUD-264.