Fix summary calculating for dynamic columns

@Baltazore I have just tried to remove this change for row <-> summary and tried to run your spec. As result I see all tests are passed. I think you need to write the failing spec to make this change.