Fixing requestid search function