Added check for number of feeds to be reasonable and valid