Issue-60: Fixed the label thing and added the range aggregation as well.