Correct off by one error.

Refs #3914