Fixed 2 typos in database-template

FIxes Issue #914