Change query for total to be projected, so we only pull in the cents. Hopefully an easy fix for #27