Lost Funds Fix on _PayTo method.

This is a fix that was made by another user made a pull req on as seen here #79

It is also in a single commit. code was not copied but when i searched for the same fix in issues or an issue ticket to reference. I found their pull req was made on same issue but was actually also working in reverse also.