DB:Sub: Detect truncated DB::stack_depth and correct it. Silently for now
Merge commit '60acc49' into IntelliSurvey