BUG FIX: Strands counts total instead of per buffer tube

Added routines to check for this and convert totals to per buffer
counts. Also added other checks to flag database integrity issues.