when your engine is revving it uses all the fuel in the feed, sending very little down the return line, when idling the pump builds up a steady pressure and eventually overpowers the float valve in the carb. you should have a return line to the tank its normally alongside the main fuel line unless it has been removed.
would this one work?http://www.ebay.de/itm/Kraftstoffilter-Fuel-Filter-Jeep-Wrangler-YJ-4-2-L-/300565865229?pt=DE_Autoteile&hash=item45fb1f230d