fix duplicate blocks of groups when there is an existing group block + inline gem group