Wrong check for summaryOnly