Bugfix for delete() with non-numeric IDs