Fix bug with duplicating products