[#61725104] fixing the slowness of contracts search query