Fix for summary miscalculation