Fix deprecated isRejected() calls in UrlCodeHints.