I don't have any raytracing experience what so ever, but your order looks a bit off to me. Not so much in the order you render, but how your doing it.

Seems you should calculate ALL light and shadow sources then render. Otherwise your 1st render of the light/shadow source gets removed when you render the 2nd light.

Of course, I could be way off, as I have little idea of what your actually doing