changed return set to be min of numberToReturn and the actual number of repo records that exist.
Merge remote-tracking branch 'origin/master'