Fix to start-up situation when variables are not yet defined in shiny.