Fixed how iteration over the various boards is done.