added sid and sourceRefKey parameters to search