r1476 + fix getSLBSummary() for the new SQL tables set