Line chart with date range calculating the total per day

Kibana Line Chart that i have events
and instead of showing all events per day, I use the date range to show the total of events per day.

After an elastic search updated I start seeing a extra line. This is a Stacked line chart, if i change to normal, this stop happening, however the normal mode is not the expected as the stacked line mode. This is some bug on elastic search? or something that i'm doing it wrong?

Problem: I start seeing a duplicated line (not sure if is some data that i have duplicated)
Any other way to try something link distinct on the query? (i tried "size": 0, but so far nothing) or any other tip?
The second line is the wrong line

Can you show the full configuration of your chart?