FIX: Bug fixes in results summarization script