Your explanation doesn't seem plausible to me. If your stomach and small intestine is working properly, the bulk of the bacteria shouldn't see much sugar. Afaik the mechanisms how the intestines regulate the gut flora are not well understood. At least not to the point where there are any working treatment for the many widespread digestive problems. There is some slow progress around fecal transplant research.