Allow 0 defines in queries
Fix non-recursion bug in listToArray
Formatting
Document Python dependency