Fix Qe database settings.