Avoid walking off the CAN_BUSES array in generated code.