added additional support for data qualities over a range