Make sure the cap vent is air tight and extends down just above the upeneing at the bottom.

Increase the flow until it cycles, then you can back down until it stops cycling. Too low a flow is almost always the cause. I also fin that it helps to have the drain slope up just a tad, linke 1 pipe diameter before it goes down to the sump.