Limit result count to MAX_RESULT_LIMIT.