Performance optimizations

Optimized Cypher query performance on selecting between two dates.