I don't think this is right. I think you want it to be (2013-08-01, 2013-08-31). What you're passing in should really be dates and not datetimes, but we've ended up passing in datetimes with the time zeroed out for some reason.