Mark Match fail when display text type is number

When the json array returned from the server returns the display text as value of type 'number'. the markMatch method fails at text.toUpperCase().

Change done to convert the number type to text.