I believe I wasn't seeing my array numbers properly. It seems to be fixed now.
Before I was counint up to 5 (0, 1, 2, 3, 4, 5) which was actually 6 because of the zero in there.