Fix for max results

Takes min value of maxresults vs mb page size