Yeah, coral banded shrimp aren't a problem when they are small. As they get larger, they become ambush predators. Usually they'll wait till a fish is "sleeping" in it's little niche, and then will swoop in and grab it. Glad you caught it before it became a problem. :)