Changes to improve and correct some bugs for the participant flow and group patterns functionality