blender cycles renders alpha black but shows up fine in material tab [duplicate]

As you can see it shows up just fine in material mode, so that must mean my node set-up is right.

I also noticed that the the tree and bushes don't have this problem.