Fixed bug with bogus endpoint.