Accepts general query in mergeBindings.