When I rack from the carboy to the keg, I use an auto-siphon and I make sure the bottom of the siphon does not touch the yeast cake. I know you can just drop it all the way in, but I hold it in place just above the cake and tilt the carboy, slowly, towards the end of the siphon.