[BUGFIX] Prevent PHP error in DatabaseTreeDataProvider