It always resets the dates, so I could not select properly the from and to. Workaround: manually entering the dates worked.