When attempting to delete a resource from the edit page, it throws an error before redirecting the user to the index page / table.  It happens on all edit pages (for example EditContact) that have the use usesresourcelock trait