Fix: proper detection of activity entries by date