Fix server-crash with non-existing items.