fixes #176: the problem of choices=NULL also affects selectInput()