#581 fixing issue with last_n_items of timestamp
Merge pull request #582 from joola/feature/#581

#581 fixing issue with last_n_items of timestamp