Fixes textIndexer for not breaking on empty fields