added search by foreignSource, hadling case where search categories are not specified by user