added the grant id search parameter