Skip empty days
Merge pull request #1 from enplotz/empty_days

Fix for days containing no segments