Limit results to 500, or 1000 if only one type of objects