fix: correct activity chart bucket count off-by-one error
The recursive CTE was generating one extra bucket extending into the
future, causing the rightmost bar to always be empty. Fixed by adjusting
the WHERE clause to generate exactly the expected number of buckets.