Fix wrong conditional as originally committed in 160315fcb1.