Added start and end date support for indexing.

Fixes #36 .