Fix issue with script on /hash/delete