#771 use NSNumber as the value for single-selected list, so that we can support > and < for single-selected list conditional check
#771 add unit tests