I have a healthy poulation of cherry shrimp in with my Peppered Cory's and there dosen't seem to be any problems. When I have seen the Peppereds get too close to the shrimp the shrimp are very quick to shoot backwards away from the cory's. Mind you this is a 4ft tank with heaps of high growing feathery weed with timber and hollow rocks, so plenty of places for the shrimp to hide. They may not do so well in a smaller tank with less plant life. But as a general rule cory's are the most inoffensive fish you could own.
I actually think the Cherry shrimp have more to fear from filters than cory's, provided there is plenty of space for both species.