Made destroy button work with DataMapper