Fixes multiple transactions on the same day

Fixes #3.