Attempts to fix the delete_url functionality