Electrical or fuel problem?

I found out the previous guy who worked on the car overtightened the crap out of the plastic fuel filter. To the point, the element inside broke loose and was floating around in the plastic housing. After changing the filter, saw that the fuel pump did not maintain a steady fuel flow to the filter. After changing the pump, 'knock on wood', car is running fine now.:-D