Fixed issues with nopaging / posts per page that resulted in total earnings / sales to be incorrect sometimes