Quick bug fixing

Fix minor bug in database backup