Fixed problem with selected datasets in the form