Added search API call to media redirect and rigorous checks.