Remember when you were a new coder, and sometimes you'd see an off-by-one error that for the life of you, you couldn't track down? And after a long enough time searching, you just gave up and added or subtracted one from the variable? I don't mean to badmouth these suggestions, because I have none that are better, but they all feel like that to me. Voo-doo fixes.
Just a thought.