Fixed logic problem with the multi-board code