Fixed error checking for number of fleets.