Add option to pass root scope/relation into the search object