Updated the code to only take changesets > 1 and less than 1000