HPCC-4476 Fix KEYED substring matching against a field from the index

Signed-off-by: Gavin Halliday <gavin.halliday@lexisnexis.com>