With the following search test:
its search result returns duplicate records.Please refer to the result as shown below:
I have also attached a sample project for the test case as reference.
Windows 7, JBOSS 7.2.0, Maven, Junit Test.