Remove extra `andThen` nesting.