[BUGFIX] Add missing column in database query