Fixed an incorrect parameter

I'll add a unit test shortly - I'm literally just starting to program Dart - I couldn't get repositories search to work without this. Wanted to throw this up in case you can deal with it faster than I.