Fixes #428

updateSelectInput() did not work in certain cases