Correction to duplicating array issue

Code change to empty previously built arrays when needing to redisplay
the selection dialog to the user if no selections were made.