Added support for avoiding duplicate entries in selection list.

References #596.