added filter for miner uninstall not to delete all database tables