Fixed query for fetching a single month