Fix board_type allocation (again)