Refs #16915; Allow range filters only for number values; Properly find the min & max values for the range