Fix to summarizeTableAtRank.py