Remove unexpected semicolons in conditions
Remove all painful chain calls for metadata in Query.js