We’ve had an open marriage, where occasional flings were okay. Was it a bad idea?

It may be important for you to not consider open marriage as a permanent thing.