Glad you fixed it.
I had another problem with an older car, same symptoms, turned out to be a restricted fuel strainer at the gas tank inlet.