if there are more than 50 results only return 50, issue #648