fix(database): Fix erroneous database's name variable (refs #5189)