should fix #5692

untested, but seems like a simple derp bug
(cherry picked from commit 361609cacda14c71d7dea4bf3a730a87ed028959)