Fixed a small bug that caused errors on new v0.5.2 of DataFrames.jl

Fixes this issue:
```
Index not defined
while loading In[0], in expression starting on line 1
 in query at /root/.julia/SQLite/src/SQLite.jl:145
 in query at /root/.julia/SQLite/src/SQLite.jl:84
```