Fixed the problem where the app would crash in cases where there were fewer than three ingredients in an ingredient group