Fix the num parameter which is confused by result numbers per request or total search results required (#41)