Incorrect filter behavior when fetching expenses using API in 2020

Random Expensify Customer Posts: 10 Expensify Newcomer
edited January 2020 in Integrations and API
I have a script running which syncs expenses from expensify to google sheets.
That script gets expenses from 'current' year by using filter similar to 

That worked correctly until Dec 31st, 2019. In 2020, the filter changed to 
but it returned empty results even though there are expenses for 2020.

When i change filter to include both years 
then it returns result for both years. Not sure if I am doing anything wrong. Any ideas ?