Yes, it would make more sense if you could only query in time spans that exactly match a multiple of your period. Querying for one and a half weeks when you're grouping by week doesn't seem useful.