handling for empty interval stats (fixes #2)