Bug in date filtering

Ok …

<employee.firstname>: string @index(fulltext) .
<employee.group>: uid @reverse .
<employee.id>: string @index(exact) .
<employee.lastname>: string .
<employee.location>: string .
<employee.xeroContactID>: string .
<employee>: [uid] .
<group.id>: string @index(exact) .
<group.member>: [uid] @reverse .
<group.name>: string .
<hours.annul>: bool .
<hours.annulText>: string .
<hours.bill>: bool .
<hours.billText>: string .
<hours.comment>: string .
<hours.created>: datetime @index(hour) .
<hours.hold>: bool .
<hours.holdText>: string .
<hours.hours>: float .
<hours.id>: string @index(exact) .
<hours.query>: bool .
<hours.queryText>: string .
<hours.status>: string @index(exact) .
<hours.tracked>: datetime @index(day) .
<hours.updated>: datetime @index(hour) .
<hours>: [uid] @reverse .
<invoice.PONumber>: string .
<invoice.accountCode>: string .
<invoice.accountNumber>: string .
<invoice.billingType>: string .
<invoice.currency>: string .
<invoice.date>: datetime @index(day) .
<invoice.hours>: [uid] .
<invoice.lineItems>: [uid] .
<invoice.office>: string .
<invoice.projectName>: string @index(exact) .
<invoice.type>: string @index(exact) .
<invoice.xeroContact>: string .
<lineitem.description>: string .
<lineitem.quantity>: float .
<lineitem.taxCode>: string .
<lineitem.unitPrice>: float .
<office.name>: string @index(exact) .
<office>: uid @reverse .
<project.PONumber>: string .
<project.billable>: string .
<project.billingType>: string @index(exact) .
<project.currency>: string .
<project.deferred>: string .
<project.description>: string .
<project.endDate>: datetime .
<project.estimatedBudget>: float .
<project.estimatedTime>: string .
<project.expenses>: string .
<project.financialStatus>: string @index(exact) .
<project.gluid>: string .
<project.id>: string @index(exact) .
<project.office>: string .
<project.rate>: float .
<project.seniorConsultant>: string .
<project.startDate>: datetime @index(day) .
<project.status>: string .
<project.statusText>: string .
<project.technology>: string .
<project.title>: string @index(term) .
<project.triangle>: string .
<project.xeroAccountCode>: string .
<projectManager>: uid @reverse .
<system.lastruntime>: datetime .
<task.billable>: string .
<task.id>: string @index(exact) .
<task.rate>: float .
<task.title>: string .
<task>: [uid] @reverse .
<technology.name>: string @index(exact) .
<technology>: uid .
<triangle.name>: string @index(exact) .
<triangle>: uid @reverse .

# Types
type Project {
	project.PONumber
	project.billable
	project.billingType
	project.currency
	project.deferred
	project.description
	project.endDate
	project.estimatedBudget
	project.estimatedTime
	project.expenses
	project.financialStatus
	project.gluid
	project.id
	project.office
	project.rate
	project.seniorConsultant
	project.startDate
	project.status
	project.statusText
	project.technology
	project.title
	project.triangle
	project.xeroAccountCode
	projectManager
	triangle
	technology
	office
	employee
	task
}

type Task {
	task.billable
	task.id
	task.rate
	task.title
	hours
	employee
}

type Employee {
	employee.firstname
	employee.group
	employee.id
	employee.lastname
	employee.location
	employee.xeroContactID
	hours
}

type Hours {
	hours.annul
	hours.annulText
	hours.bill
	hours.billText
	hours.comment
	hours.created
	hours.hold
	hours.holdText
	hours.hours
	hours.id
	hours.query
	hours.queryText
	hours.status
	hours.tracked
	hours.updated
	employee
}

type Group {
	group.id
	group.member
	group.name
}

type Invoice {
	invoice.PONumber
	invoice.accountCode
	invoice.accountNumber
	invoice.billingType
	invoice.currency
	invoice.date
	invoice.hours
	invoice.lineItems
	invoice.office
	invoice.projectName
	invoice.type
	invoice.xeroContact
}

type Lineitem {
	lineitem.description
	lineitem.quantity
	lineitem.taxCode
	lineitem.unitPrice
}

type Office {
	office.name
}

type System {
	system.lastruntime
}

type Technology {
	technology.name
}

type Triangle {
	triangle.name
}