Fix logic fail when building ingredient list