Fix for monh total.

Wrong object, int instead of date.