Fixed infinite recursion bugs found in transaction extensions

I found 3 instances in `LightningTransactionExtensions.cs` where execution was recursive on all paths. I think I have them fixed.

Can you pull these fixes in and release an updated Nuget package?