Added logic for 'anyof' drag and drop.