Fix fence post error in 516719a
(cherry picked from commit ec3a978eec841652993147940472c9a059c2c14b)