Fixed index bug in FourteenConnected.