Fixes a crash if a query is sent that expects at least on query, and is not given any at all

## What causes this problem

If you call

```
executeQuery:withArgumentsInArray:orDictionary:orVAList 
```

With a query that expects parameters (such as 'name = ?') and you provide nil for the arguments array, dictionary and VAList then it will crash when attempting to use the VAList.