Fix term creation for granularity of date queries

Change-Id: Ib9dfef78227510d08818bef92e2f5dffa40d7be3
diff --git a/lib/Krawfish/Koral/Corpus/Field/Date.pm b/lib/Krawfish/Koral/Corpus/Field/Date.pm
index 57e6973..2fad5b8 100644
--- a/lib/Krawfish/Koral/Corpus/Field/Date.pm
+++ b/lib/Krawfish/Koral/Corpus/Field/Date.pm
@@ -250,6 +250,12 @@
       $self->builder->string($self->key)->eq(
         $self->value_string(0) . RANGE_ALL_POST
       );
+  }
+  elsif ($self->month) {
+    push @terms,
+      $self->builder->string($self->key)->eq(
+        $self->value_string(1) . RANGE_PART_POST
+      );
   };
 
   if ($self->month) {
@@ -257,6 +263,12 @@
       $self->builder->string($self->key)->eq(
         $self->value_string(1) . RANGE_ALL_POST
       );
+  }
+  else {
+    push @terms,
+      $self->builder->string($self->key)->eq(
+        $self->value_string(2) . RANGE_PART_POST
+      );
   };
 
   push @terms,