#247 decreasing time of search patients on merge patient