Fix for #1113
Merge pull request #1131 from rgasch/dbutil

Fix for #1113