Added ranges on integer columns. Still needs refinement.