Fix #741

Local variable was used incorrectly. Did not result in any bugs, just a small amount of unnecessary network traffic.