My engine stalls out above 1500 rpms.

I have two theories:

1) Clogged fuel filter;
2) A leak in the fuel line (I had a leak earlier which I corrected by tightening the nut attaching the fuel line to the engine)that starves the engine when I increase rpms.

Has anyone else had a similar problem?

Phil