Added an optimization to use indices in complex...

lookups (eg, `Q(...) & Q(...)`).
Fix for introduced performance regression.
Removed an errant debugging trace.