Knowing this is a possibility, I have several strategies to prevent it. First, if I know one or more of the kids don't like something, I don't fix it when their going to be around. I wait until some night they will be at a friend's or relative's house or, if it is something I could take or leave, sometimes I just don't fix it at all. If it is a side dish that I really enjoy, I might make it, but serve it with other things that would make it a well balanced meal even without the optional side. Sometimes, I alter the recipe so it is more acceptable to everyone. And sometimes I make meals to order.
It is a little thing, but it can make mealtime a lot more peaceable and it saves on food waste, so it is one of the little things that makes life good.