Fix #48. Queries should respect time precision.