Fixes issue #30 where the where clause wasn't being passed to the fetch all which would cause it to run out of memory on large tables