Fixed error in query logic for AND-ing terms fields