Fixed a bug with removing items from the simplex.