Add missing month partition to measurements query.

Fixes #414