Fixed a bug with deleting item_group entries.