Uses range based check for number of results