getSummaries() should check all array lengths before derefing.