If you're referring to Cherry shrimp, the guy who sold me mine suggested - strongly - that I have a breeding population in a separate small tank, so that if the shrimp I eventually put in tanks with fish were munched on, I'd have more.
Well planted and with smaller fish is apparently still a risk - never mind with loaches...