Fixed duplicate cart updates (Issue #1)