Fixed resetting of selects.

TODO: (1) Differentiate several entries with the same date identifier .