Update so that filters can recognize number values

Values in conditions for filter have been treated as string. This commit enables recognition of numbers to cast as real type.