Added separate check that insert branch won't execute if method is Fail.