LPS-48617 Search fails with ArrayIndexOutOfBoundsException