Fixed support to allow both collections and cursors to be passed to dropdown. Restored last value set when setting up dropdown again. Set to the empty value if value is not found.