Modified hard_delete to work with new db