Added grandTotal to values returned by select