Fixed logbook summary to return 0 if no summary