OM-239: update if cursor path changes

Appears to be a relatively small performance degradation ~10% on TodoMVC
when toggling all the todos.