Correct uri check.