Protect against errors in case URI can't be coerced