Can't search using composite names

Description

Login to Mifos
try searching using a composite name ex: (George tony john bailey)

Result:
An unhandled error has occurred. Please contact your system administrator.
Hide stack trace
java.lang.IndexOutOfBoundsException: Index: 2,Size: 2
at java.util.SubList.rangeCheck(Unknown Source)
at java.util.SubList.get(Unknown Source)

PS:
I tried to reproduce the bug on
http://ci.mifos.org:8104/mifos/
and i couldn't

But i succeeded reproducing it on
http://demo.mifos.org/mifos/

Environment

None

Assignee

mifosqa

Reporter

George Lteif

Labels

URL

None

Story Points

None

Team

Core

Scheduled For

Release

Epic

None

Notify

None

productboard URL

None

Man Day Estimate

None

Components

Fix versions

Affects versions

Priority

Minor
Configure