tiny fix to make sure limit param gets passed on when not greater than 1 million
fixed some broken tests