SMV #45: added support for multiple value columns to pivot_sum function.