Fix removeItem to reference the correct object.