Now checks id instead of name when removing items from stock