[Minor] Trivial fix to make codes more readable

It should just use `maxResults` there.