Simplify lookup based on returnUrl param.