Fix bug with datetime filter
Add data export