Ignore .idea/
Flatten all queries to use request.url index
Merge pull request #1 from goodeggs/optimize_queries

Optimize queries