CSH-1399 Fix query parameter interval to have right value for month, day or year