Fixing database template quotes.