Add dynacaseDbCleaner call after migration (fixes #3804)