Fixed bug in adding ingredients in modify view, w/ tests