Ensure that the uri exists in the DB before updating 

When re-validating via js, results were not being saved because the uri did not always exist in the DB.