There are many strong opinions among Ashkenazi Jews about whether this dish should be sweet or savory, so there are many variations. This is the version I grew up with, which embraces the sweet and the savory, and is therefore the correct way to make this.