fix bug where new nonsequential hero ids caused an array OOB error