Ensure database is up-to-date before connecting
Guard against several empty arg cases in simulator