Fixed bug that prevented the script from working if the project had fewer
than 8 antennas active.