libs/Common: fixed wrong replacements of Folder(s) -> Group(s) in Database and DatabaseThread