Added missing "terms" array element in realex gateway.