Difference in visits reported by different API methods

Hi there,

I have a puzzle here.

When I use VisitsSummary.get for range Piwik returns nb_visits of X.

When I use VisitsSummary.get for day (for the same date range) returns nb_visits for all days in the range and after summing them up it’s X + Y (more then range query).

Any advice?