Fixed bug in the database_dump.