fixed bug in 'database.set' and 'database.unset' commands