Added .gitignore
Fixed bug in QueryBuilder which ignored the query