Fix inline diff issue. See #3150