Get summary by id
Various changes/fixes