Fixed typo in deleting character in database.