[FIX] XQuery: AND/OR optimization bug fixed.