Fixed the issue where null array elements were being checked against.
**Still need to figure out why it's skipping several rounds.