Plastic or fiberglass window screen siliconed under the opening allows the water to fall back in but should keep the ropies in.Also lower the water level a couple of inches so it can't reach the outlow easily
OR
use a canister filter and cut the hose holes only big enough for the joses to pass thru-Anne